package com.xtm.exercise.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @Description: 用来测试调用老tms中的方法
 * @Author: Hzl
 * @Date: 2024-07-29 14:48
 */
@FeignClient(value = "base-company", path = "apiPlat/company")
public interface CargoFeignTest {

    @GetMapping("/api/company/isPlatOrSubCompany/{companyId}")
    Object isPlatOrSubCompany (@PathVariable(name = "companyId") String companyId);

}
